package com.twl.app.base.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


@Entity
@org.hibernate.annotations.Entity()
@Table(name = "Overtimemoney")
@SequenceGenerator(name = "instance_sequence", sequenceName = "SEQ_OVERTIMEMONEY_DID", allocationSize = 1)

public class Overtimemoney implements Serializable{

	/**
	 * 加班工资
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer did ;		//主键
	private String staffint ;  //员工ID
	private String stafftype ;	//员工类型（正式、派遣员工）
	private String stafftypes ;//员工类别（客服、授权、催收）
	private Double overtime ; //工作日加班小时
	private String staffmoney ;//员工基本工资
	private Double breakhr ; //休息日加班小时
	private Double festvalhr ;//节假日加班小时
	private String amountdou ;//总金额（计算得来）
	private String datemoney ;//日期
	private String desKey;// 密钥
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	
	
	public Overtimemoney() {
		super();
	}
	
	public Overtimemoney(Integer did, String staffint, String stafftype,
			String stafftypes, Double overtime, String staffmoney,
			Double breakhr, Double festvalhr, String amountdou, String datemoney) {
		super();
		this.did = did;
		this.staffint = staffint;
		this.stafftype = stafftype;
		this.stafftypes = stafftypes;
		this.overtime = overtime;
		this.staffmoney = staffmoney;
		this.breakhr = breakhr;
		this.festvalhr = festvalhr;
		this.amountdou = amountdou;
		this.datemoney = datemoney;
	}



	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator="instance_sequence")
	public Integer getDid() {
		return did;
	}
	public void setDid(Integer did) {
		this.did = did;
	}
	@Column(name = "staffint")
	public String getStaffint() {
		return staffint;
	}
	public void setStaffint(String staffint) {
		this.staffint = staffint;
	}
	@Column(name = "stafftype")
	public String getStafftype() {
		return stafftype;
	}
	public void setStafftype(String stafftype) {
		this.stafftype = stafftype;
	}
	@Column(name = "stafftypes")
	public String getStafftypes() {
		return stafftypes;
	}
	public void setStafftypes(String stafftypes) {
		this.stafftypes = stafftypes;
	}
	@Column(name = "overtime")
	public Double getOvertime() {
		return overtime;
	}
	public void setOvertime(Double overtime) {
		this.overtime = overtime;
	}
	@Column(name = "staffmoney")
	public String getStaffmoney() {
		return staffmoney;
	}
	public void setStaffmoney(String staffmoney) {
		this.staffmoney = staffmoney;
	}
	@Column(name = "breakhr")
	public Double getBreakhr() {
		return breakhr;
	}
	public void setBreakhr(Double breakhr) {
		this.breakhr = breakhr;
	}
	@Column(name = "festvalhr")
	public Double getFestvalhr() {
		return festvalhr;
	}
	public void setFestvalhr(Double festvalhr) {
		this.festvalhr = festvalhr;
	}
	@Column(name = "amountdou")
	public String getAmountdou() {
		return amountdou;
	}
	public void setAmountdou(String amountdou) {
		this.amountdou = amountdou;
	}
	@Column(name = "datemoney")
	public String getDatemoney() {
		return datemoney;
	}
	public void setDatemoney(String datemoney) {
		this.datemoney = datemoney;
	}
	@Override
	public String toString() {
		return "Overtimemoney [staffint=" + staffint + ", stafftype="
				+ stafftype + ", stafftypes=" + stafftypes + ", overtime="
				+ overtime + ", staffmoney=" + staffmoney + ", breakhr="
				+ breakhr + ", festvalhr=" + festvalhr + ", amountdou="
				+ amountdou + ", datemoney=" + datemoney + "]";
	}
	
	
}
